//
//  ViewController.m
//  Project
//
//  Created by 郑键 on 17/1/10.
//  Copyright © 2017年 zhengjian. All rights reserved.
//

#import "ViewController.h"
#import <JavaScriptCore/JavaScriptCore.h>
#import <WebKit/WebKit.h>

@interface ViewController () <WKNavigationDelegate>

/**
 <#descrption#>
 */
@property (nonatomic, strong) WKWebView *webView;

/**
 <#descrption#>
 */
@property (nonatomic, strong) JSContext *context;

@end

@implementation ViewController

#pragma mark - First.通知

#pragma mark - Second.赋值

#pragma mark - Third.点击事件

#pragma mark - Fourth.代理方法

#pragma mark - Fifth.控制器生命周期

- (void)viewDidLoad {
    [super viewDidLoad];
    
    [self ex_codeExecutionTimeWithBlock:^(id sender) {
        [self test];
    }];
}

- (void)test
{
    NSMutableArray *tempArray = [NSMutableArray array];
    for (NSInteger i = 0; i < 1000; ++i) {
        NSObject *object = [NSObject new];
        [tempArray addObject:object];
    }
    
    for (NSObject *objcet in tempArray) {
        NSLog(@"%@", objcet);
    }
}

#pragma mark - Sixth.界面配置

#pragma mark - Seventh.懒加载

@end
